Skip to content

Update tweet_sum_processor.py#4

Open
1biswarup2 wants to merge 1 commit intoguyfe:mainfrom
1biswarup2:main
Open

Update tweet_sum_processor.py#4
1biswarup2 wants to merge 1 commit intoguyfe:mainfrom
1biswarup2:main

Conversation

@1biswarup2
Copy link
Copy Markdown

Removed two errors from pre-existing code:

  1. In the 'get_json()' function[that is in class 'DialogWithSummaries'], the variable 'summ' can be of 'None' then it causes the error.
  2. In the 'str()' of the class 'DialogWithSummaries', the 'join' function causes an error when the variable 'abstractive_summary' is not iterable. This exception should be handled and it is done here.

So please merge my changes to the actual code.

Removed two errors form pre-existing code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant